package com.hlkj.pay.dto.ad;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.util.json.JsonUtils;
import lombok.Data;
/**
 * @author HlpayTeam
 * @date 2024/10/25 16:59
 */
@Data
public class ReChargeDto {
	
	/**
	 * errno : 0
	 * errmsg : 成功
	 * data : {"order_number":"订单号","mobile":"手机号 ","product_id":"产品id","total_price":"金额 ","out_trade_num":"外表订单","title":""}
	 */
	
	private String errno;
	private String errmsg;
	/**
	 * order_number : 订单号
	 * mobile : 手机号
	 * product_id : 产品id
	 * total_price : 金额
	 * out_trade_num : 外表订单
	 * title :
	 */
	private DataBean data;
	@Data
	public static class DataBean {
		private String order_number;
		private String mobile;
		private String product_id;
		private String total_price;
		private String out_trade_num;
		private String title;
		private Long id;
		private Long create_time;
		private String guishu;
	}
	public static void main(String[] args) {
		String json="{\"errno\":0,\"errmsg\":\"提交成功\",\"data\":{\"id\":262382,\"order_number\":\"HXT241031262382\",\"mobile\":\"18327318860\",\"product_id\":217,\"total_price\":\"11.30\",\"create_time\":1730348737,\"guishu\":\"湖北武汉\",\"title\":\"【轮询】三网小额10元【补差价，有中价移动】三网话费\",\"out_trade_num\":\"C20241031042538599955969\"}}";
		System.out.println(JsonUtils.parseObject(json,ReChargeDto.class));
	}
}
